﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace ADayRoiAdmin
{
    public partial class frmAdayroi : Form
    {
        public frmAdayroi()
        {
            InitializeComponent();
        }

        private void toolMenu_Click(object sender, EventArgs e)
        {
            Menu frmmenu = new Menu();
            frmmenu.MdiParent = this;
            frmmenu.Show();
        }

        private void toolDSHA_Click(object sender, EventArgs e)
        {
            frmImageLink imag = new frmImageLink();
            imag.MdiParent = this;
            imag.Show();
        }

        private void doanhNghiệpToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmBusiness business = new frmBusiness();
            business.MdiParent = this;
            business.Show();
        }

        private void sảnPhẩmToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmList list = new frmList("Products");
            list.MdiParent = this;
            list.Show();
        }

        private void banHangCaNhanToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FrmLoadData person = new FrmLoadData(4);
            person.ShowDialog();
        }

        private void dịchVụToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FrmLoadData person = new FrmLoadData(5);
            person.ShowDialog();
        }
    }
}
